<ion-modal-view id="transfer" class="modal-full-height">
  <ion-header-bar class="bar-positive">
    <button class="button button-clear" ng-click="closeModal()" translate>COMMON.BTN_CANCEL</button>
    <h1 class="title" translate>ACCOUNT.SELECT_WALLET_MODAL.TITLE</h1>
  </ion-header-bar>

  <ion-content scroll="true">

    <div class="center padding" ng-if="loading">
      <ion-spinner icon="android"></ion-spinner>
    </div>

    <div class="center padding gray" ng-if="!loading && !wallets.length && !defaultWallet">
      {{:locale:'ACCOUNT.WALLET_LIST.NO_WALLET'|translate}}
    </div>

    <ion-list ng-if="!loading" class="{{::motion.ionListClass}}">
      <ng-include ng-if="defaultWallet" ng-init="wallet = defaultWallet" src="'templates/wallet/list/item_wallet.html'">
      </ng-include>

      <ng-repeat ng-repeat="wallet in wallets track by wallet.id"
                 ng-include="'templates/wallet/list/item_wallet_light.html'">
      </ng-repeat>
    </ion-list>

  </ion-content>

</ion-modal-view>
